// const mock = require('mockjs')
// const Random = mock.Random

function getComponentList() {
  return [
    {
      fe_id: '11111',
      type: 'questionInfo',
      title: '问卷标题',
      ishidden: false,
      islock: false,
      props: {
        title: '个人信息调研',
        placeholder: '调查个人信息的一份问卷-清华大学出版'
      }
    },
    {
      fe_id: '22222',
      type: 'questionTitle',
      title: '标题',
      ishidden: false,
      islock: false,
      props: {
        title: '个人信息调研',
        level: 3,
        iscenter: true
      }
    },
    {
      fe_id: '33333',
      type: 'questionInput',
      title: '输入框1',
      ishidden: false,
      islock: false,
      props: {
        title: '你的名字',
        placeholder: '请输入名字....'
      }
    },
    {
      fe_id: '44444',
      type: 'questionInput',
      title: '输入框2',
      ishidden: false,
      islock: false,
      props: {
        title: '你的电话',
        placeholder: '请输入电话....'
      }
    },
    {
      fe_id: '55555',
      type: 'questionParagraph',
      title: '段落',
      ishidden: false,
      islock: false,
      props: {
        title: '选择你的喜欢',
        iscenter: true
      }
    },
    {
      fe_id: '66666',
      type: 'questionRadio',
      title: '单选框',
      ishidden: false,
      islock: false,
      props: {
        title: '选择最喜欢的科目',
        options: [
          { text: '语文', value: '语文' },
          { text: '数学', value: '数学' },
          { text: '英文', value: '英文' }
        ],
        isvertical: false,
        defaultselected: null
      }
    },
    {
      fe_id: '77777',
      type: 'questionCheckbox',
      title: '多选框',
      ishidden: false,
      islock: false,
      props: {
        title: '选择喜欢的食物',
        list: [
          { text: '鸡腿', value: '001', checked: false },
          { text: '鸭腿', value: '002', checked: false },
          { text: '狗腿', value: '003', checked: false }
        ],
        isvertical: false
      }
    },
    {
      fe_id: '88888',
      type: 'questionTextarea',
      title: '输入框',
      ishidden: false,
      islock: false,
      props: {
        title: '为啥你要填这份问卷',
        placeholder: '请输入'
      }
    }
  ]
}

module.exports = getComponentList
